package com.time.workbench.efficient.entity.bo;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 应用服务器
 * </p>
 *
 * @author 时间
 * @since 2021-04-25
 */
@EqualsAndHashCode(callSuper = true)
@TableName("efficient_application_server")
@Data
public class ApplicationServer extends Model<ApplicationServer> {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 应用id
     */
    private Integer applicationId;

    /**
     * 环境id
     */
    private Integer environmentId;

    /**
     * 服务器id
     */
    private Integer serverId;


    /**
     * 部署分支
     */
    private String deployBranch;
    
    /**
     * 租户id
     */
    private Integer tenantId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
